//package top.yekongle.shop.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//
///**
// * @author Hank Lau
// * @date 2022/5/3
// */
//@Configuration
//public class WebMvcConfig extends WebMvcConfigurationSupport {
//	/**
//	 * 解决swagger-ui.html 404无法访问的问题
//	 */
//	@Override
//	public void addResourceHandlers(ResourceHandlerRegistry registry) {
//		registry.
//				addResourceHandler("/swagger-ui/**")
//				.addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/")
//				.resourceChain(false);
//	}
//
//}
